package com.gaojiawei.multiThread08_Synchronized;

import org.junit.Test;
import org.openjdk.jol.info.ClassLayout;

/**
 * see the information of objecthead
 */
public class L01_objectHead {
    @Test
    public void  printObjectHead(){
        Object o = new Object();
        int i = o.hashCode();
        System.out.println(ClassLayout.parseInstance(o).toPrintable());
    }
}
